using Nemerle.Collections;
using Nemerle.Text;
using Nemerle.Utility;

using System;
using System.Collections.Generic;
using System.Linq;

namespace Test
{
  public module TestRuner
  {
    public Main(_args : array[string]) : int
    {
      def res = NUnit.ConsoleRunner.Runner.Main(array[typeof(TestRuner).Assembly.Location]);
      
      when (res != 0)
      {
        Console.BackgroundColor = ConsoleColor.Red;
        Console.WriteLine("Error!!!!!!!!!!!!!!!");
        _ = Console.ReadLine();
      }
      
      res;
    }
  }
}
